package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author kabuda
 * @create 2022-08-15 10:20
 */
public interface CheckItemDao {
    public void add(CheckItem checkItem);

    public Page<CheckItem> selectByCondition(@Param("queryString") String queryString);

    public long findCountByCheckItemId(@Param("id") Integer id);

   public  void deleteById(@Param("id") Integer id);

     public void edit(CheckItem checkItem);

    public CheckItem findById(Integer id);

    List<CheckItem> findAll();

}
